
local Cookie = require("mvc.cookie");
local resp = require("mvc.resp");


local _M = {};

function _M.login(req, resp)
	return { title = "User login" };
end

function _M.do_login(req, resp)
	local cookie = Cookie:new(".app.net", "/", "sso_lc", "111", 3600 * 24);
	resp.add_cookie(cookie);
	return { success = true };
end

return _M